
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>php文件操作 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="04_cookie机制.html" />
    
    
    <link rel="prev" href="02_PhpStorm本地断点调试.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../php基础/01_php介绍.html">
            
                <a href="../php基础/01_php介绍.html">
            
                    
                    php基础
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../php基础/01_php介绍.html">
            
                <a href="../php基础/01_php介绍.html">
            
                    
                    php介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../php基础/02_PHP基础语法.html">
            
                <a href="../php基础/02_PHP基础语法.html">
            
                    
                    php基础语法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../php基础/03_php变量.html">
            
                <a href="../php基础/03_php变量.html">
            
                    
                    php变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../php基础/04_php数据类型.html">
            
                <a href="../php基础/04_php数据类型.html">
            
                    
                    php数据类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../php基础/05_php常量.html">
            
                <a href="../php基础/05_php常量.html">
            
                    
                    php常量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="../php基础/06_php运算符.html">
            
                <a href="../php基础/06_php运算符.html">
            
                    
                    php运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.7" data-path="../php基础/07_php流程控制.html">
            
                <a href="../php基础/07_php流程控制.html">
            
                    
                    php流程控制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.8" data-path="../php基础/08_php数组.html">
            
                <a href="../php基础/08_php数组.html">
            
                    
                    php数组
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9" data-path="../php基础/09_php函数.html">
            
                <a href="../php基础/09_php函数.html">
            
                    
                    php函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.10" data-path="../php基础/10_php面向对象.html">
            
                <a href="../php基础/10_php面向对象.html">
            
                    
                    php面向对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.11" data-path="../php基础/11_php命名空间.html">
            
                <a href="../php基础/11_php命名空间.html">
            
                    
                    php命名空间
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.12" data-path="../php基础/12_php日期和时间.html">
            
                <a href="../php基础/12_php日期和时间.html">
            
                    
                    php日期时间
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.13" data-path="../php基础/13_php表单.html">
            
                <a href="../php基础/13_php表单.html">
            
                    
                    php表单
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.14" data-path="../php基础/14_php包含文件.html">
            
                <a href="../php基础/14_php包含文件.html">
            
                    
                    php包含文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.15" data-path="../php基础/15_php常用函数.html">
            
                <a href="../php基础/15_php常用函数.html">
            
                    
                    php常用函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.16" data-path="16_php常用变量函数.md">
            
                <span>
            
                    
                    php常用变量函数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="01_php错误与异常.html">
            
                <a href="01_php错误与异常.html">
            
                    
                    php错误与异常
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="02_PhpStorm本地断点调试.html">
            
                <a href="02_PhpStorm本地断点调试.html">
            
                    
                    PhpStorm本地断点调试
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.3.2" data-path="03_php文件操作.html">
            
                <a href="03_php文件操作.html">
            
                    
                    php文件操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="04_cookie机制.html">
            
                <a href="04_cookie机制.html">
            
                    
                    cookie机制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="05_session.html">
            
                <a href="05_session.html">
            
                    
                    session
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="06_php画图.html">
            
                <a href="06_php画图.html">
            
                    
                    php画图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="07_php加密机制.html">
            
                <a href="07_php加密机制.html">
            
                    
                    php加密机制
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >php文件操作</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x6587;&#x4EF6;&#x64CD;&#x4F5C;">&#x6587;&#x4EF6;&#x64CD;&#x4F5C;</h1>
<h2 id="&#x83B7;&#x53D6;&#x6587;&#x4EF6;&#x540D;">&#x83B7;&#x53D6;&#x6587;&#x4EF6;&#x540D;</h2>
<p>basename() &#x51FD;&#x6570;&#x8FD4;&#x56DE;&#x8DEF;&#x5F84;&#x4E2D;&#x7684;&#x6587;&#x4EF6;&#x540D;&#x90E8;&#x5206;&#x3002;</p>
<pre><code>basename(path,suffix)
</code></pre><table>
<thead>
<tr>
<th>&#x53C2;&#x6570;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td>path</td>
<td>&#x5FC5;&#x9700;&#x3002;&#x89C4;&#x5B9A;&#x8981;&#x68C0;&#x67E5;&#x7684;&#x8DEF;&#x5F84;&#x3002;</td>
</tr>
<tr>
<td>suffix</td>
<td>&#x53EF;&#x9009;&#x3002;&#x89C4;&#x5B9A;&#x6587;&#x4EF6;&#x6269;&#x5C55;&#x540D;&#x3002;&#x5982;&#x679C;&#x6587;&#x4EF6;&#x6709;&#x540D;&#x6709;&#x6587;&#x4EF6;&#x6269;&#x5C55;&#x540D;&#xFF0C;&#x5C06;&#x4E0D;&#x4F1A;&#x663E;&#x793A;&#x8FD9;&#x4E2A;&#x6269;&#x5C55;&#x540D;&#x3002;</td>
</tr>
</tbody>
</table>
<h2 id="&#x83B7;&#x53D6;&#x8DEF;&#x5F84;">&#x83B7;&#x53D6;&#x8DEF;&#x5F84;</h2>
<p>dirname() &#x51FD;&#x6570;&#x8FD4;&#x56DE;&#x8DEF;&#x5F84;&#x4E2D;&#x7684;&#x76EE;&#x5F55;&#x540D;&#x79F0;&#x90E8;&#x5206;&#x3002;</p>
<pre><code>dirname(path)
</code></pre><h2 id="mkdir-&#x51FD;&#x6570;&#x521B;&#x5EFA;&#x76EE;&#x5F55;&#x3002;">mkdir() &#x51FD;&#x6570;&#x521B;&#x5EFA;&#x76EE;&#x5F55;&#x3002;</h2>
<p>&#x5982;&#x679C;&#x6210;&#x529F;&#x8BE5;&#x51FD;&#x6570;&#x8FD4;&#x56DE; TRUE&#xFF0C;&#x5982;&#x679C;&#x5931;&#x8D25;&#x5219;&#x8FD4;&#x56DE; FALSE&#x3002; &#x8BED;&#x6CD5;</p>
<pre><code>mkdir(path)
</code></pre><h2 id="&#x5220;&#x9664;&#x6587;&#x4EF6;">&#x5220;&#x9664;&#x6587;&#x4EF6;</h2>
<p>unlink() &#x51FD;&#x6570;&#x5220;&#x9664;&#x6587;&#x4EF6;&#x3002; &#x5982;&#x679C;&#x6210;&#x529F;&#xFF0C;&#x8BE5;&#x51FD;&#x6570;&#x8FD4;&#x56DE; TRUE&#x3002;&#x5982;&#x679C;&#x5931;&#x8D25;&#xFF0C;&#x5219;&#x8FD4;&#x56DE; FALSE&#x3002;</p>
<pre><code>unlink(filename)
</code></pre><h2 id="&#x79FB;&#x52A8;&#x4E0A;&#x4F20;&#x6587;&#x4EF6;">&#x79FB;&#x52A8;&#x4E0A;&#x4F20;&#x6587;&#x4EF6;</h2>
<p>move_uploaded_file() &#x51FD;&#x6570;&#x628A;&#x4E0A;&#x4F20;&#x7684;&#x6587;&#x4EF6;&#x79FB;&#x52A8;&#x5230;&#x65B0;&#x4F4D;&#x7F6E;&#x3002; &#x5982;&#x679C;&#x6210;&#x529F;&#x8BE5;&#x51FD;&#x6570;&#x8FD4;&#x56DE; TRUE&#xFF0C;&#x5982;&#x679C;&#x5931;&#x8D25;&#x5219;&#x8FD4;&#x56DE; FALSE&#x3002; &#x8BED;&#x6CD5; move_uploaded_file(file,newloc)</p>
<p>&#x53C2;&#x6570; &#x63CF;&#x8FF0; file &#x5FC5;&#x9700;&#x3002;&#x89C4;&#x5B9A;&#x8981;&#x79FB;&#x52A8;&#x7684;&#x6587;&#x4EF6;&#x3002; newloc &#x5FC5;&#x9700;&#x3002;&#x89C4;&#x5B9A;&#x6587;&#x4EF6;&#x7684;&#x65B0;&#x4F4D;&#x7F6E;&#x3002;</p>
<h2 id="&#x6253;&#x5F00;&#x6587;&#x4EF6;">&#x6253;&#x5F00;&#x6587;&#x4EF6;</h2>
<p>fopen() &#x5728;PHP&#x4E2D;&#x6253;&#x5F00;&#x6587;&#x4EF6;&#x3002;</p>
<p>&#x53C2;&#x6570;1&#xFF1A;&#x542B;&#x6709;&#x8981;&#x6253;&#x5F00;&#x7684;&#x6587;&#x4EF6;&#x7684;&#x540D;&#x79F0;</p>
<p>&#x53C2;&#x6570;2&#xFF1A;&#x89C4;&#x5B9A;&#x4E86;&#x4F7F;&#x7528;&#x54EA;&#x79CD;&#x6A21;&#x5F0F;&#x6765;&#x6253;&#x5F00;&#x6587;&#x4EF6;</p>
<pre><code class="lang-php"><span class="hljs-meta">&lt;?php</span>
$file=fopen(<span class="hljs-string">&quot;test.txt&quot;</span>,<span class="hljs-string">&quot;r&quot;</span>);
<span class="hljs-keyword">echo</span> $file;
<span class="hljs-meta">?&gt;</span>
</code></pre>
<table>
<thead>
<tr>
<th>&#x6A21;&#x5F0F;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td>r</td>
<td>&#x53EA;&#x8BFB;&#x3002;&#x5728;&#x6587;&#x4EF6;&#x7684;&#x5F00;&#x5934;&#x5F00;&#x59CB;&#x3002;</td>
</tr>
<tr>
<td>r+</td>
<td>&#x8BFB;/&#x5199;&#x3002;&#x5728;&#x6587;&#x4EF6;&#x7684;&#x5F00;&#x5934;&#x5F00;&#x59CB;&#x3002;</td>
</tr>
<tr>
<td>w</td>
<td>&#x53EA;&#x5199;&#x3002;&#x6253;&#x5F00;&#x5E76;&#x6E05;&#x7A7A;&#x6587;&#x4EF6;&#x7684;&#x5185;&#x5BB9;&#xFF1B;&#x5982;&#x679C;&#x6587;&#x4EF6;&#x4E0D;&#x5B58;&#x5728;&#xFF0C;&#x5219;&#x521B;&#x5EFA;&#x65B0;&#x6587;&#x4EF6;&#x3002;</td>
</tr>
<tr>
<td>w+</td>
<td>&#x8BFB;/&#x5199;&#x3002;&#x6253;&#x5F00;&#x5E76;&#x6E05;&#x7A7A;&#x6587;&#x4EF6;&#x7684;&#x5185;&#x5BB9;&#xFF1B;&#x5982;&#x679C;&#x6587;&#x4EF6;&#x4E0D;&#x5B58;&#x5728;&#xFF0C;&#x5219;&#x521B;&#x5EFA;&#x65B0;&#x6587;&#x4EF6;&#x3002;</td>
</tr>
<tr>
<td>a</td>
<td>&#x8FFD;&#x52A0;&#x3002;&#x6253;&#x5F00;&#x5E76;&#x5411;&#x6587;&#x4EF6;&#x672B;&#x5C3E;&#x8FDB;&#x884C;&#x5199;&#x64CD;&#x4F5C;&#xFF0C;&#x5982;&#x679C;&#x6587;&#x4EF6;&#x4E0D;&#x5B58;&#x5728;&#xFF0C;&#x5219;&#x521B;&#x5EFA;&#x65B0;&#x6587;&#x4EF6;&#x3002;</td>
</tr>
<tr>
<td>a+</td>
<td>&#x8BFB;/&#x8FFD;&#x52A0;&#x3002;&#x901A;&#x8FC7;&#x5411;&#x6587;&#x4EF6;&#x672B;&#x5C3E;&#x5199;&#x5185;&#x5BB9;&#xFF0C;&#x6765;&#x4FDD;&#x6301;&#x6587;&#x4EF6;&#x5185;&#x5BB9;&#x3002;</td>
</tr>
<tr>
<td>x</td>
<td>&#x53EA;&#x5199;&#x3002;&#x521B;&#x5EFA;&#x65B0;&#x6587;&#x4EF6;&#x3002;&#x5982;&#x679C;&#x6587;&#x4EF6;&#x5DF2;&#x5B58;&#x5728;&#xFF0C;&#x5219;&#x8FD4;&#x56DE; FALSE &#x548C;&#x4E00;&#x4E2A;&#x9519;&#x8BEF;&#x3002;</td>
</tr>
<tr>
<td>x+</td>
<td>&#x8BFB;/&#x5199;&#x3002;&#x521B;&#x5EFA;&#x65B0;&#x6587;&#x4EF6;&#x3002;&#x5982;&#x679C;&#x6587;&#x4EF6;&#x5DF2;&#x5B58;&#x5728;&#xFF0C;&#x5219;&#x8FD4;&#x56DE; FALSE &#x548C;&#x4E00;&#x4E2A;&#x9519;&#x8BEF;&#x3002;</td>
</tr>
</tbody>
</table>
<p>&#x6CE8;&#x91CA;&#xFF1A;&#x5982;&#x679C; fopen() &#x51FD;&#x6570;&#x65E0;&#x6CD5;&#x6253;&#x5F00;&#x6307;&#x5B9A;&#x6587;&#x4EF6;&#xFF0C;&#x5219;&#x8FD4;&#x56DE; 0 (false)&#x3002;</p>
<h2 id="&#x5173;&#x95ED;&#x6587;&#x4EF6;">&#x5173;&#x95ED;&#x6587;&#x4EF6;</h2>
<p>&#x5173;&#x95ED;&#x6587;&#x4EF6; fclose() &#x51FD;&#x6570;&#x7528;&#x4E8E;&#x5173;&#x95ED;&#x6253;&#x5F00;&#x7684;&#x6587;&#x4EF6;&#xFF1A;</p>
<pre><code class="lang-php"><span class="hljs-meta">&lt;?php</span>
$file = fopen(<span class="hljs-string">&quot;test.txt&quot;</span>,<span class="hljs-string">&quot;r&quot;</span>);

<span class="hljs-comment">//&#x6267;&#x884C;&#x4E00;&#x4E9B;&#x4EE3;&#x7801;</span>

fclose($file);
<span class="hljs-meta">?&gt;</span>
</code></pre>
<h2 id="&#x68C0;&#x6D4B;&#x6587;&#x4EF6;&#x672B;&#x5C3E;">&#x68C0;&#x6D4B;&#x6587;&#x4EF6;&#x672B;&#x5C3E;</h2>
<p>feof() &#x51FD;&#x6570;&#x68C0;&#x6D4B;&#x662F;&#x5426;&#x5DF2;&#x5230;&#x8FBE;&#x6587;&#x4EF6;&#x672B;&#x5C3E;&#xFF08;EOF&#xFF09;&#x3002; &#x5728;&#x5FAA;&#x73AF;&#x904D;&#x5386;&#x672A;&#x77E5;&#x957F;&#x5EA6;&#x7684;&#x6570;&#x636E;&#x65F6;&#xFF0C;feof() &#x51FD;&#x6570;&#x5F88;&#x6709;&#x7528;&#x3002;</p>
<h2 id="&#x9010;&#x884C;&#x8BFB;&#x53D6;&#x6587;&#x4EF6;">&#x9010;&#x884C;&#x8BFB;&#x53D6;&#x6587;&#x4EF6;</h2>
<p>fgets() &#x51FD;&#x6570;&#x7528;&#x4E8E;&#x4ECE;&#x6587;&#x4EF6;&#x4E2D;&#x9010;&#x884C;&#x8BFB;&#x53D6;&#x6587;&#x4EF6;&#x3002; &#x6CE8;&#x91CA;&#xFF1A;&#x5728;&#x8C03;&#x7528;&#x8BE5;&#x51FD;&#x6570;&#x4E4B;&#x540E;&#xFF0C;&#x6587;&#x4EF6;&#x6307;&#x9488;&#x4F1A;&#x79FB;&#x52A8;&#x5230;&#x4E0B;&#x4E00;&#x884C;&#x3002; &#x5B9E;&#x4F8B; &#x4E0B;&#x9762;&#x7684;&#x5B9E;&#x4F8B;&#x9010;&#x884C;&#x8BFB;&#x53D6;&#x6587;&#x4EF6;&#xFF0C;&#x76F4;&#x5230;&#x6587;&#x4EF6;&#x672B;&#x5C3E;&#x4E3A;&#x6B62;&#xFF1A;</p>
<pre><code class="lang-php"><span class="hljs-meta">&lt;?php</span>
$file = fopen(<span class="hljs-string">&quot;welcome.txt&quot;</span>, <span class="hljs-string">&quot;r&quot;</span>) <span class="hljs-keyword">or</span> <span class="hljs-keyword">exit</span>(<span class="hljs-string">&quot;&#x65E0;&#x6CD5;&#x6253;&#x5F00;&#x6587;&#x4EF6;!&quot;</span>);
<span class="hljs-comment">// &#x8BFB;&#x53D6;&#x6587;&#x4EF6;&#x6BCF;&#x4E00;&#x884C;&#xFF0C;&#x76F4;&#x5230;&#x6587;&#x4EF6;&#x7ED3;&#x5C3E;</span>
<span class="hljs-keyword">while</span>(!feof($file))
{
    <span class="hljs-keyword">echo</span> fgets($file). <span class="hljs-string">&quot;&lt;br&gt;&quot;</span>;
}
fclose($file);
<span class="hljs-meta">?&gt;</span>
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="02_PhpStorm本地断点调试.html" class="navigation navigation-prev " aria-label="Previous page: PhpStorm本地断点调试">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="04_cookie机制.html" class="navigation navigation-next " aria-label="Next page: cookie机制">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"php文件操作","level":"1.3.2","depth":2,"next":{"title":"cookie机制","level":"1.3.3","depth":2,"path":"php/php高级/04_cookie机制.md","ref":"./php/php高级/04_cookie机制.md","articles":[]},"previous":{"title":"PhpStorm本地断点调试","level":"1.3.1","depth":2,"path":"php/php高级/02_PhpStorm本地断点调试.md","ref":"./php/php高级/02_PhpStorm本地断点调试.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"php/php高级/03_php文件操作.md","mtime":"2020-04-23T10:28:39.241Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-04-23T11:06:38.883Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

